Skip to main content

ARDK for Android/com.nianticlabs.ardk.mapping/MappingStorageSession/mergeUpdate

mergeUpdate

[androidJvm]
fun mergeUpdate(existingMap: ByteArray, mapUpdate: ByteArray): ByteArray?

Merge a map update into an existing map.

Combines incremental map updates with existing map data to create an updated complete map dataset.

Return​

The merged map data if successful, or null if no merged map data exists.

Parameters​

androidJvm

existingMapThe existing map to merge the update into
mapUpdateThe map update to merge into the existing map

Throws​

ArdkNullArgumentStatusExceptionor ArdkInvalidArgumentStatusException indicating a problem with the map argument. Check ARDK's C logs for more information.